<tagLib name="preem" />
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
	<head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
        <title><preem:article id=".id" field="title" updateclick="true"/>&nbsp;&nbsp;{&site_name}团委学生会</title>
        <link rel="stylesheet" type="text/css" href="__TMPL__reset.css"/>
        <link rel="stylesheet" type="text/css" href="{$TplPath}/css/index.css"/>
        <link rel="stylesheet" type="text/css" href="{$TplPath}/css/view.css"/>
        <script type="text/javascript" src="__TMPL__v.js"></script>
		<script type="text/javascript">
            DD_roundies.addRule('.rounded', '8px', true);
            DD_roundies.addRule('#commands', '0 0 8px 8px', true);
            DD_roundies.addRule('#head', '0 0 10px 10px', true);			
            DD_roundies.addRule('.roundedHalf', '8px 8px 0 0', true);
        </script>
	</head>
	<body>
        <div id="container" class="clearfix">
            {:get_var('Head_Student')}
			<div id="position">        
                <a href="__URL__/index.html">{&site_name}团委学生会</a><preem:category id="$archive-.id-category" field="ancestor" format="<a href='__URL__/category/id/#id#.html'>#typename#</a>∈"/><a href="__URL__/category/id/<preem:category field='id' />"><preem:category field="typename" /></a>
            </div>
			<script type="text/javascript">
				var posObj=document.getElementById("position");
				var as=posObj.getElementsByTagName("a");
				posObj.removeChild(as[1]);
				posObj.removeChild(as[1]);
                //以下代码是为了将∈∈转变成∈
                var nodes=posObj.childNodes;
                for(var i=0,len=nodes.length;i<len;i++){
                    var node=nodes[i];
                    if(node.nodeType=="3"){
                       if(node.data=="∈∈"){
                        node.replaceData(0,1,'');
                        break;
                       }
                    }
                }
			</script>
            <div id="content" class="rounded clearfix">
				<div id="left">
					<div class="rounded arctitle">
						<h5><preem:article field="title"/></h5>
						<p>
							<label><preem:article field="pubdate" func="parseDatetime='Y-m-d H:i',###"/></label>
							<label><preem:article field="realname" /></label>
							<label>共<preem:article field="click" />次点击</label>
						</p>
					</div>
					<div class="arcconts"><preem:article field="content"/></div>
				</div>
				<div id="right">
					<h5 class="roundedHalf">相关文章</h5>
					<ul>
						<preem:arclist id="vo" category="$archive-.id-category" rows="10">
                        <li><a href="__URL__/view/id/{$vo['id']}.html" class="tip" title="{$vo['title']}">{$vo['title']|suffixstr=###,14}</a></li>
						</preem:arclist>
					</ul>
				</div>
            </div>
            <div id="copyright">
                <p><b>{&site_name}</b><b>版权所有</b><b><a target="_blank" href="__APP__/Public/login">网站管理</a></b></p>
                <p>copyright&copy;2009,school of Mechanical Engineering and Automation,All Rights Reserved</p>
            </div>
        </div>
	</body>
</html>